// 镜像管理
export interface MirroringRecord {
  category: string
  createdAt: string
  description: string
  name: string
  namespace: string
  numDownload: number
  numImages: number
  path: string
  size: number
  totalRange: number
  updatedAt: string
}

export interface MirroringRecordDetail {
  created: string
  id: number
  imageId: string
  internalPath: string
  path: string
  repoId: number
  schema: string
  size: number
  tag: string
  tagType: number
  updated: string
}
// 命名空间
export interface NamespacedRecord {
  labels: { [propName: string]: string }
  name: string
  phase: string
  time: string
  type: number
}

//工作负载
export interface WorkloadRecord {
  creationTimestamp: string
  image: string
  name: string
  namespace: string
  port: number
  replicas: number
  nameType: number
  status: string
}

export interface WorkloadRecordDetail {
  cpu: number
  creationTimestamp: string
  hostIp: string
  memory: number
  name: string
  namespace: string
  podIp: string
  restartCount: number
  status: string
}

// 应用管理
export interface ApplicationRecord {
  appDescribe: string
  appId: string
  appName: string
  appPlatform: number
  appStatus: number
  createDate: string
  id: number
  requestUrl: string
  updateDate: string
}

// 部署项目管理
export interface deployRecord {
  appName: string
  cpu: number
  createDate: string
  id: number
  memory: string
  packageName: string
  port: number
  systemName: string
  updateDate: string
}
